package com.gakj.truck.third.api.mapper;

import com.gakj.truck.third.core.annotation.MyBatisMapper;
import com.gakj.truck.third.core.domain.TruckDto;
import com.gakj.truck.third.core.domain.TruckImgVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by gc on 2016/5/10.
 */
@MyBatisMapper
public interface TruckDtoMapper {

    List<TruckDto> getAll(int day);

    TruckDto getByid(@Param(value = "id") Long id);

    TruckImgVo getByTruckid(@Param(value = "cid") Long cid);
}
